package omni.cloud.core.webapp;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.netflix.feign.EnableFeignClients;

@SpringBootApplication // 相当于@Configuration、@EnableAutoConfiguration、@ComponentScan
@EnableEurekaClient // 配置本应用将使用服务注册和服务发现，注意：注册和发现用这一个注解
@EnableFeignClients
public class CoreWebappApplication {

	public static void main(String[] args) {
		SpringApplication.run(CoreWebappApplication.class, args);
	}

}
